﻿#include "OperSplitByMiddleEdgeManager.h"

// App
#include "FITK_Kernel/FITKAppFramework/FITKAppFramework.h"
#include "FITK_Kernel/FITKAppFramework/FITKGlobalData.h"

// Geometry
#include "FITK_Interface/FITKInterfaceGeometry/FITKGeoCommandList.h"
#include "FITK_Interface/FITKInterfaceGeometry/FITKGeoInterfaceFactory.h"
#include "FITK_Interface/FITKInterfaceGeometry/FITKAbsGeoModelOperLine.h"

// Operator
#include "FITK_Kernel/FITKCore/FITKOperatorRepo.h"
#include "OperatorsInterface/GraphEventOperator.h"

// GUI
#include "GUIDialog/SplitEdgeMidpointDialog.h"

namespace ModelOper
{
    void OperSplitByMiddleEdgeManager::showDialog()
    {
        initDialog<GUI::SplitEdgeMidpointDialog>();
    }

    bool OperSplitByMiddleEdgeManager::execProfession()
    {
        // 刷新模型树。
        updateTree();

        return true;
    }
} // namespace ModelOper
